<form action="{:url()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="PaymentTable">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <div class="layui-form-label">用户名</div>
            <div class="layui-form-block">
                <div class="layui-form-mid">{$vo->email}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-form-label">姓名</div>
            <div class="layui-form-block">
                <div class="layui-form-mid">{$vo->realname}</div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-form-label">所有资产</div>
            <div class="layui-input-block">
                {empty name="vo.member_coins"}
                    <div class="layui-form-mid"> 暂时没有充值</div>
                {else /}
                    <table class="layui-table" style="width: auto; min-width: 600px;">
                        <thead>
                        <tr>
                            <th>币种名称</th>
                            <th>当前金额</th>
                            <th>冻结金额</th>
                            <th>总金额</th>
                        </tr>
                        </thead>
                        <tbody>
                        {foreach name="vo.member_coins" item="item"}
                        <tr>
                            <td>{$item->coin->coin_name}</td>
                            <td>{$item->account_amount}</td>
                            <td>{$item->frozen_amount}</td>
                            <td>{$item->account_amount+$vo->frozen_amount} </td>
                        </tr>
                    {/foreach}
                        </tbody>
                    </table>
                {/empty}

            </div>
        </div>
    </div>
</form>

